<?php


namespace app\business;


class TworldBusiness
{
    /**
     * 检测是否过期
     * @param string $date
     * @return bool
     */
    public function checkExpirationTime(string $date)
    {
        $new = strtotime('+1 day', strtotime($date));
        return $new < time();
    }
}